﻿using System.Collections.Generic;
using Sharp.Platform.List;
using Sharp.Platform.Other;

namespace Sharp.Platform.Interface
{
    /// <summary>
    /// 列表
    /// </summary>
    public interface ISharpList
    {
        /// <summary>
        /// 工具栏按钮
        /// </summary>
        /// <returns></returns>
        IList<ToolButtonInfo> GetToolButtons(object viewModel);
        IList<ToolButtonInfo> ToolbarButtonParameters { get; set; }
        /// <summary>
        /// 特性
        /// </summary>
        ListFeature Feature { get; set; }
        /// <summary>
        /// 获取列表标题
        /// </summary>
        /// <returns></returns>
        string GetTitle();
    }
 
}